package cn.itsource.service;

import cn.itsource.pojo.domain.Login;
import cn.itsource.pojo.dto.LoginDto;
import cn.itsource.result.JSONResult;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 登录表 服务类
 * </p>
 *
 * @author luoc
 * @since 2024-09-03
 */
public interface ILoginService extends IService<Login> {

    JSONResult login(LoginDto loginDto);

    List<String> getPermissionList(Long loginId);

    List<String> getRoleList(Long loginId);
}
